﻿using LimaLims.Application.Service.Sys.Dto;
using LimaLims.Core.Entity.System;
using LimaLims.Core;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LimaLims.Core.Entity.Equipment;
using LimaLims.Application.Service.Equipment.Dto;

namespace LimaLims.Application.Service.Equipment
{
    /// <summary>
    /// 设备仪器接口
    /// </summary>
    public interface IEquipmentInfoService
    {
        Task Add(AddEquipmentInfoInput input);

        Task Edit(EditEquipmentInfoInput input);

        Task Delete(long id);

        Task<EquipmentInfoOutput> Detail(long id);

        Task<EquipmentInfoOutput> DetailByCode(string equipmentCode);

        Task<PageResult<EquipmentInfoOutput>> QueryPage([FromQuery] EquipmentInfoPageInput input);

    }
}
